PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package / PDFFunctionShading Class / setMatrix Method
An array of six numbers specifying a transformation matrix mapping the coordinate space specified by the getDomain entry into the shading's target coordinate space.
In This Topic
    setMatrix Method
    In This Topic
    Sets the shading matrix.
    Syntax
    public void setMatrix( 
       double[] matrix
    )

    Parameters

    matrix
    An array of six numbers specifying a transformation matrix mapping the coordinate space specified by the getDomain entry into the shading's target coordinate space.
    Exceptions
    ExceptionDescription
    When matrix does not have 6 elements.
    See Also